<template>
  <div style="padding: 10px" >
    <el-button @click="freshProjectSave" >刷新在运项目</el-button>
  </div>
</template>

<script>

import { ElMessage, ElMessageBox } from 'element-plus'
import request from '@/utils/drawutils/request';

export default {
  name: 'ComptFreshProjectSave',

  components: {
  },
  data(){
    return {


    }
  },
  mounted() {
  },

  unmounted() {

  },

  methods:{

    async freshProjectSave( ){
      let res = await request.post( "/drwproject/freshrun" )
      if( res.code === "1" ){
         ElMessage.success( "刷新报警项目完成!" )
      }
    },

  },

}
</script>



